package swind.web.service;

import java.util.List;

import swind.web.entities.ExamRole;
import swind.web.entities.ExamUser;
import swind.web.vo.LoginUserVo;

public interface ILoginService {


	public ExamUser getUserByName(ExamUser eu);
	
	public List<ExamRole> getRoleByExamUser(ExamUser eu);
	
	public boolean isCrossLockTime(ExamUser eu);

	public boolean isPasswordTrue(LoginUserVo loginVo, ExamUser eu);
	
	public boolean isPasswordTrue(LoginUserVo loginVo);
	
	public void addLoginFailCount(ExamUser eu);

	public void clearLoginFailCount(ExamUser eu);
	
	public void lockNow(ExamUser eu);

	
	
	

}